// import { createBrowserRouter } from 'react-router-dom';
// import { routesList } from './routersList'
// import routers from './routers';
// // console.log('routesList',routesList,routers)
// //可传第二个参数，配置base路径 { basename: "/app"}
// const router = createBrowserRouter([...routesList,...routers]);

// export default router;
import { Navigate } from "react-router-dom"


// 不需要左边导航的页面 在这里增加的页面都没有左边导航
export const routesList = [
    {
        path: '/',
        element: <Navigate to="/index" />
    }, {
        path: '404',
        element: '*'
    }
]